package com.zsc.projectmanagementapi.service;

import com.github.pagehelper.PageInfo;
import com.zsc.projectmanagementapi.pojo.Do.ProjectState;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LinHj
 * @date 2021/6/10 12:58
 **/
@Service
public interface ProjectStateService {

    public PageInfo<ProjectState> getAllProjectsState(int page,int count,String projectName,Integer imp,String sort);

    public PageInfo<ProjectState> getAllProjectsStateSort(int page,int count,String sort);

    public ProjectState getProjectStateById(String id);

    public int addProjectState(ProjectState projectState);

    public int updateProjectState(ProjectState projectState);

    public int deleteProjectStateById(String id);
}
